Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rpm: Don't emit optional fields when empty #311

Merged
merged 2 commits into from
Jul 8, 2024

Conversation

cpuguy83
Copy link
Member

@cpuguy83 cpuguy83 commented Jul 4, 2024

This also cleans up some of the rpm spec template layout for easier reading.

Closes #276

cpuguy83 added 2 commits July 4, 2024 00:59
While working on some rpm spec template changes I broke meta packages
but didn't know until I happen to run a windows test that is internally
creating a meta package and it was panicing.

This adds an explicit test for meta packages so we don't break this
accidentally.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
This also cleans up some of the rpm spec template layout for easier
reading.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
@cpuguy83 cpuguy83 marked this pull request as ready for review July 4, 2024 01:04
@cpuguy83 cpuguy83 requested a review from a team as a code owner July 4, 2024 01:04
@cpuguy83 cpuguy83 requested a review from pmengelbert July 8, 2024 16:42
@pmengelbert
Copy link
Contributor

LGTM, thanks

@pmengelbert pmengelbert merged commit 92b9acd into Azure:main Jul 8, 2024
9 checks passed
@cpuguy83 cpuguy83 deleted the rpmspec_fields branch July 8, 2024 17:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[REQ] mariner/azlinux: Add pre-validation for some spec fields
2 participants